package demo1;

import java.net.InetAddress;
import java.util.HashMap;

/**
 * @Author liangzai
 * @Description:
 */
public class UserName {

    public String userName(InetAddress ip){
        HashMap<String ,String> map = new HashMap<>();
        //map.put("ip地址","用户名");
        map.put("/10.190.175.207","黄熙淋");
        map.put("/10.190.144.132","袁宇嘉");
        map.put("/10.190.144.132","刘鑫诚");
        map.put("/10.190.141.233","陈韩磊");
        //System.out.println(ip.toString());
        map.put("/10.190.150.65","敖恺");
        return map.get(ip.toString());
    }
}
